Code and Data Outlining

نویسندگان

  • Peng Zhao
  • José Nelson Amaral
  • David Padua
  • Bruce Cockburn
  • Jonathan Schaeffer
  • Duane Szafron
چکیده

In this dissertation we investigate compiler techniques to address the performance problems caused by heterogeneous execution frequency of code in the same function and heterogeneous access pattern of fields in the same data structure. These heterogeneous characteristics are bad for performance. On one hand, it is frequent that instructions in the same function have very different execution frequencies. There is often infrequently referenced cold code, such as exception handlers, intertwined in frequently invoked hot functions. Cold code in hot functions not only degrades instruction cache efficiency but also makes host functions too large to be inlined. On the other hand, programmers organize their data layout in a semantically meaningful way that often does not match the runtime access pattern well. This data organization causes inefficient data cache utilization. We use compiler outlining techniques to address these performance problems that are difficult to handle by programmers. For programs with heterogeneous execution frequency, we use function outlining to split cold code out of the host function. Function outlining makes the host function smaller and more amenable for inlining optimization because the compiler is then able to do partial inlining, i.e. inline only the hot parts of a callee. To address the heterogeneous data pattern issue, we use data outlining or reshaping, which splits large data structures into smaller ones, to improve the efficiency of data

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Function Outlining

Large functions that are frequently executed, i.e. hot, are common in non-numeric applications. These functions present challenges to modern compilers not only because they require more time and resources for compilation, but also because they might degrade runtime performance by preventing optimizations such as function inlining. Fortunately, often large portions of the code in hot functions a...

متن کامل

Body outlining using Tc-99m filled flood source for lymphoscintigraphy imaging

  Introduction: In the current study, we evaluated the feasibility of body outlining using Tc-99m filled flood source for lymphoscintigraphy imaging. Methods: 80 patients were included in the study. Sentinel node mapping was done using Tc-99m Antimony sulfide colloid. For outlining the body a Tc-99m filled flood source was used which was placed behind or lateral to t...

متن کامل

Exploring Relationships Between Field (In)dependence, Multiple Intelligences, and L2 Reading Performance Among Iranian L2 Learners

L2 learners’ individual differences are crucial factors that deserve attention in L2 education. Focusing on 2 main areas of individual differences (i.e., field (in)dependence and multiple intelligences), this study explored their relationships with L2 reading performance. Participants were 64 TEFL undergraduates and postgraduates. To assess the participats’ degree of field (in)dependence and mu...

متن کامل

Breaking the Black Box - Using Background Knowledge for Efficient Stream Reasoning (Poster)

Current approaches to stream reasoning neglect knowledge about the system as a whole. We present first steps towards self-describing streams by outlining a possible definition of the data produced by different streams. We give an outlook on future paths and how such descriptions can be used to improve reasoning about the streamed data.

متن کامل

Viewing functions as token sequences to highlight similarities in source code

The detection of similarities in source code has applications not only in software re-engineering (to eliminate redundancies) but also in software plagiarism detection. This latter can be a challenging problem since more or less extensive edits may have been performed on the original copy: insertion or removal of useless chunks of code, rewriting of expressions, transposition of code, inlining ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005